import request from '@/utils/request'
//获得sku的列表信息
export const reqSkuList = (page, limit) => request({ url: `/admin/product/list/${page}/${limit}`, method: 'get' })

//上架sku
export const reqHandleUp = (skuId) => request({ url: `/admin/product/onSale/${skuId}`, method: 'get' })
//下架sku
export const reqHandleDown = (skuId) => request({ url: `/admin/product/cancelSale/${skuId}`, method: 'get' })

//查看sku的详细属性、
export const reqSkuInfo = (skuId) => request({ url: `/admin/product/getSkuById/${skuId}`, method: 'get' })

